package com.x.erp.model;

import java.util.Date;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

@MappingTable(tableName = "ERP_USER")
public class User extends BaseObject {
    private static final long serialVersionUID = 759699295226613871L;
    @MappingColumn(columnName = "USER_ID", columnPk = true, columnLength = 32)
    private String userId;
    @MappingColumn(columnName = "USER_TYPE")
    private Integer userType;
    @MappingColumn(columnName = "USER_NAME")
    private String userName;
    @MappingColumn(columnName = "USER_REMARK")
    private String userRemark;
    @MappingColumn(columnName = "USER_MOBILE")
    private String userMobile;
    @MappingColumn(columnName = "USER_NO")
    private String userNo;
    @MappingColumn(columnName = "USER_ID_CARD")
    private String userIdCard;
    @MappingColumn(columnName = "USER_STATE")
    private Integer userState;
    @MappingColumn(columnName = "USER_CREATE_TIME")
    private Date userCreateTime;
    @MappingColumn(columnName = "USER_UPDATE_TIME")
    private Date userUpdateTime;
    @MappingColumn(columnName = "MARKET_ID")
    private String marketId;
    @MappingTable(tableName = "ERP_MARKET")
    private Market market;
    @MappingColumn(columnName = "COMPANY_ID")
    private String companyId;
    @MappingTable(tableName = "ERP_COMPANY")
    private Company company;
    @MappingColumn(columnName = "SHOP_ID")
    private String shopId;
    @MappingTable(tableName = "ERP_SHOP")
    private Shop shop;
    @MappingColumn(columnName = "ACCOUNT_ID")
    private String accountId;

    @MappingColumn(columnName = "WX_OPEN_ID")
    private String wxOpenId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserRemark() {
        return userRemark;
    }

    public void setUserRemark(String userRemark) {
        this.userRemark = userRemark;
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

    public Integer getUserState() {
        return userState;
    }

    public void setUserState(Integer userState) {
        this.userState = userState;
    }

    public Date getUserCreateTime() {
        return userCreateTime;
    }

    public void setUserCreateTime(Date userCreateTime) {
        this.userCreateTime = userCreateTime;
    }

    public Date getUserUpdateTime() {
        return userUpdateTime;
    }

    public void setUserUpdateTime(Date userUpdateTime) {
        this.userUpdateTime = userUpdateTime;
    }

    public String getMarketId() {
        return marketId;
    }

    public void setMarketId(String marketId) {
        this.marketId = marketId;
    }

    public Market getMarket() {
        return market;
    }

    public void setMarket(Market market) {
        this.market = market;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public Shop getShop() {
        return shop;
    }

    public void setShop(Shop shop) {
        this.shop = shop;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getUserIdCard() {
        return userIdCard;
    }

    public void setUserIdCard(String userIdCard) {
        this.userIdCard = userIdCard;
    }

    public String getWxOpenId() {
		return wxOpenId;
	}

	public void setWxOpenId(String wxOpenId) {
		this.wxOpenId = wxOpenId;
	}

}
